Apparatus and method to allow a user a trial period before licensing a software program product

ABSTRACT

A method is provided to permit copies of software products to be installed on systems, with a predetermined delay before commencement of a designated test period. The predetermined delay provides for a cumulative elapsed time, beginning with the installation of the software product to be evaluated during the designated test period, to allow for miscellaneous starts of the computer system prior to productive use for the purpose of evaluation during the user trial period. The miscellaneous starts may be associated with software product installation procedures during preload activities, attachment of devices and/or adapters to tailor the system to a particular user configuration, or to otherwise &#34;boot&#34; or check the system prior to productive use.

This application is a continuation of Ser. No. 08/246,648 filed May 20, 1994 now U.S. Pat. No. 5,564,038.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates generally to the field of digital data processing systems, and more specifically to a method for managing access to, and authentication of, an operating system or various application software program products which may be processed by the systems to ensure that the operating system or application software program products are used according to the terms of the product's license agreements.

2. Description of Related Art

Growth in the personal computer industry has created a large market for operating system and application software products usable on particular personal computer systems. Accordingly, companies are in the business of developing operating system and application software products which are then marketed to personal computer owners. Typically, such computer software products are marketed on a fixed fee basis in which a user purchases a copy of the software, usually under terms of a license agreement. It has been a characteristic of this industry that in order for the developers of the software to recover the often quite large investment in research and development of the software product, and also the costs of manufacture and marketing, that the purchase price of such software items has been relatively high. This high purchase price has been a barrier, in some circumstances, to the widespread licensing of some software and has limited the penetration in some markets. In addition, some users are reluctant to incur such a purchase without first operating the software, since the suitability of software is very difficult to judge without actually using it.

In order to afford users an opportunity to evaluate a particular operating system or application software product, a developer may offer the user a "trial period" during which the user is granted the right to use the operating system or application software product. Upon expiration of the trial period, the user may either license the product or stop using the product.

Growth in the personal computer industry has also led many personal computer systems manufacturers to "preload" operating system and/or certain application software products on the systems. The preloaded systems may be marketed as "turn-key" solutions, whereby the user is not required to install the software product(s) and may begin useful operation shortly after turning the system on. In addition, preloaded software products may be used by a software vendor as a method of introducing the user to a particular software product(s), which the user may purchase upon the expiration of a trial period.

As is well known, a major problem with regard to the distribution of such software products is the copying of such products or the unauthorized use of such products without compensating the developer for their value. Unauthorized use of proprietary computer programs is widespread. The problem of unauthorized use is exacerbated when software products are offered for use during a trial period. Upon expiration of the trial period, without a means for managing license verification of the software product, the user may continue using the software product without compensating its developer.

Various methods have been employed for preventing the use of programs by persons who have obtained them in an unauthorieed manner. For example, U.S. Pat. No. 5,014,234 to Edwards is for a System with Software Usage Timer and Counter for Allowing Limited Use But Preventing Continued Unauthorized Use Of Protected Software. Edwards discloses providing a clock having an initial time setting at the time of installation of a software product on a computer system, a constant representing a predetermined amount of time, and a counter. Each time the protected software is operated, the counter is incremented. Determinations are made whether the counter has reached a predetermined value, or whether the current time sensed exceeds the time when the software was installed by an amount equal to or greater than the constant. If the result of either determination is true, a warning is sent to the user and the counter is decremented each further time that the software is subsequently operated. Finally, the software is disabled when the counter has reached a second predetermined value.

The system as disclosed in Edwards, may fail to provide the user an adequate trial period for a system having a software product(s) that have been preloaded. That is, when preloading software products, Edwards would begin to track a user trial period at the time of preloading. As a result, the length of the trial period realized may be less than the length of the trial period designated by the developer. It is envisioned that no trial period could result in a circumstance when the time at which the computer system is purchased and activated by a user exceeds the time at which the software products were preloaded by an amount greater or equal to the test period.

SUMMARY OF THE INVENTION

According to the invention, a method and apparatus are provided for preventing continued use of a protected computer program product in a data processing system beyond a designated test period. The data processing system includes a date stamp, and timer, wherein the date stamp represents the start of the designated test period, and the timer measures elapsed time after the protected computer program product is installed and before the commencement of the designated test period. According to one aspect of the invention, a determination is made as to whether the date stamp has been created. If the date stamp has been created a determination is made as to whether the current date exceeds the date associated with the date stamp by an amount greater than the designated test period; and if the designated test period is exceeded the protected computer program is disabled. Otherwise, the timer is incremented in order to measure elapsed time of the data processing system while active. A determination whether the timer has reached a predetermined value is made and after the predetermined value has been reached, the date stamp is created. After the date stamp has been created the system compares the current date to the date associated with the date stamp, and if the designated test period is exceeded the protected computer program is disabled.

BRIEF DESCRIPTION OF THE DRAWING(S)

The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of practice, together with further objects and advantages thereof, may be best understood by reference to the following description taken in conjunction with the accompanying drawing figures.

FIG. 1 shows a personal computer comprising a system unit, keyboard, mouse and display.

FIG. 2 shows a block diagram of the components of the personal computer shown in FIG. 1.

FIG. 3 shows a computer system with in-memory components for allowing a trial period according to the present invention.

FIG. 4 is a flow chart illustrating a method for allowing a trial period according to the present invention.

DESCRIPTION OF THE ILLUSTRATIVE EMBODIMENT(S)

The following detailed description is of the best presently contemplated mode for carrying out the invention. This description is not to be taken in a limiting sense but is made merely for the purpose of illustrating the general principles of the invention since the scope of the invention is best defined by the appending claims.

The invention may be run on a variety of computers under a number of different operating systems. The computer could be, for example, a personal computer, a mini computer, or a main frame computer. The computer may be a standalone system, part of a network such as a local area network or wide area network or a larger teleprocessing system. For purposes of illustration only, the invention is described as implemented on a personal computer, such as IBM's PS/2® computer series, although the specific choice of computer is limited only by memory and disk requirements.

Referring now to the drawings, and more particularly to FIG. 1, there is shown a personal computer system 10, comprising a system unit 11, a keyboard 12, a mouse 13 and a graphics display device or monitor 14. The keyboard 12 and the mouse 13 constitute user input devices, and the display device 14 is a user output device. The mouse 13 is used to control a cursor 15 displayed on the screen 16 of the display device 14.

FIG. 2 shows in block diagram form the components of the personal computer shown in FIG. 1. The system unit 11 includes a system bus 21 to which the various components are attached and by which communication between the various components is accomplished. A microprocessor 22 is connected to the system bus 21 and is supported by read only memory (ROM) 23 and random access memory (RAM) 24, also connected to system bus 21. The microprocessor 22 in the IBM PS/2 series of computers is one of the Intel family of microprocessors including the 80286, 80386 or 80486 microprocessors, but other microprocessors including, but not limited to,

Motorola's family of microprocessors such as the 68000, 68020 or 68030 microprocessors and various RISC (Reduced Instruction Set Computer) microprocessors manufactures by IBM, Hewlett-Packard, Sun Microsystems, Intel,. Motorola and others may be used in a specific computer.

The ROM 23 contains, among other code, the Basic Input/Output System (BIOS) which controls basic hardware operations, such as interactions of the disk drives and the keyboard. The RAM 24 is the main memory into which the operating system, data files and application programs are loaded. A memory management chip 25 is connected to the system bus 21 and controls Direct Memory Access (DMA) operations, including paging data between RAM 24 and a hard disk drive 26 and a floppy disk drive 27.

To complete the description of the system unit 11, there are three I/O controllers. These are the keyboard controller 28, the mouse controller 29, and the video controller 30, all of which are connected to the system bus 21. As the names imply, the keyboard controller 28 provides the hardware interface for the keyboard 12, the mouse controller 29, hardware interface for the mouse 13, and the video controller 30 provides the hardware interface for the graphic display device 14.

The hardware illustrated in FIGS. 1 and 2 is typical but may vary for a specific application; that is, there may be other peripherals, such as optical storage media, audio I/O, printers and the like. The invention is specifically directed to an enhancement to the operating system which controls or "runs" the hardware or an application software program which runs under the control of the operating system. The invention may be added to an existing operating system or application software program, or it may provide the basis of an entirely new operating system or application software program.

The manner in which the invention is implemented may differ from operating system to operating system, or from application software program to application software program. One possible embodiment is illustrated in FIG. 3. The RAM 24 may contain, among other code, operating system 32, one or more application software programs 34, timer 36 for keeping track of cumulative elapsed time that the data processing system 10 is active, and an in-memory model 38 for storing a date stamp.

When the user elects to start by "booting" the system 10, registration data will be tested for the protected computer program product. The "protected computer program product" may be either operating system 32 or application software product 34, whichever is the product to be protected. As the protected computer program is loaded, timer 36 is started and incremented while the data processing system 10 is operated until a predetermined value of time is reached. Having reached the predetermined value, a date stamp is created and stored in-memory model 38. Thereafter, the current date will be compared to the date associated with the date stamp to establish whether a designated test period has been exceeded. Upon expiration of the designated test period, the computer program may be disabled or destroyed.

Although timer 36 and in-memory model 38 are shown as discrete elements in FIG. 3, either may be integral to the protected computer program product. That is, timer 36 or in-memory model 38 representing the date stamp may be functionally part of either operating system 32 or application software product 34. Moreover, the contents of timer 36 and in-memory model 38 are stored, for example on hard disk 26, so as to preserve the contents of each during a first use of the protected computer program product and each subsequent use of the protected computer program product.

The software which will now be described functions to prevent continued unauthorized use of protected software products beyond a designated test period and to manage access to, and authentication of, the protected software products. The method hereinafter described permits copies of software products to be installed on systems, with a predetermined delay before commencement of the test period. The predetermined delay provides for a cumulative elapsed time, beginning with the installation of the software product to be evaluated during the test period, to allow for miscellaneous starts of the computer system prior to productive use for the purpose of evaluation during the user trial period. The miscellaneous starts may be associated with software product installation procedures during preload activities, attachment of devices and/or adapters to tailor the system to a particular user configuration, or to otherwise "boot" or check the system prior to productive use.

The flow diagram in FIG. 4 shows a possible mode of operation of the invention. In the flow diagram, the graphical conventions of a diamond for a test or decision and a rectangle for a process or function are observed. These conventions are well understood by programmers skilled in the art, and the flow diagram is sufficient to enable a programmer of ordinary skill to write code in any suitable computer programming language such as BASIC, Pascal, or C for a computer, such as the IBM Personal Series (PS/2) family of computers which supports those languages.

Block 410 begins, after first entering from block 400, by checking whether a valid password has been entered during the start up or loading of the protected computer program product. The determination may be made by prompting the user to input the valid password every time the protected computer program product is loaded. Alternatively, a register or field for storing the valid password may be examined in order to verify that the valid password had been previously entered by the user and stored. If the valid password has, in fact, been entered, the YES branch of decision block 410 serves as input to block 490, where the procedure exits and continues with loading the protected computer program product. Otherwise, the NO branch of decision block 410 serves as input to decision block 420, where the system determines whether a date stamp has been created. If no date stamp has been created, the NO branch of decision block 420 is taken to block 430, where the system determines whether timer 36 has been initialized. If it is determined that timer 36 has not been initialized, the NO branch of decision block 430 is taken to block 435 where timer 36 is initialized. Having initialized timer 36, block 435 serves as input to block 440. Referring again to decision block 430, if it is determined that timer 36 had been previously initialized, the YES branch is taken to block 440. Block 440 activates timer 36 to measure time elapsed during the operation of the protected computer program product. It is to be understood, that the time measured by timer 36 begins with the total cumulative elapsed time counted during every prior operation of the protected computer program product. That is, timer 36 stores the cumulative time of every prior operation of the protected computer program product, and resumes its count during the current operation of the protected computer program product. Having started timer 36, block 440 serves as input to decision block 450 where it is determined whether timer 36 has reached a predetermined limit. If the predetermined limit has not been reached, the NO branch of decision block 450 is taken to block 490, where the procedure exits and continues with loading the protected computer program product. Otherwise, the YES branch of decision block 450 is taken to block 460, where a date stamp is created.

The date stamp indicates the time upon which the timer 36 has reached its predetermined value. Accordingly, the date stamp has a date associated therewith, indicating the time at which timer 36 has reached the predetermined value and the time at which an authorized test period is begun. In so doing, timer 36 serves to provide a "burn-in" period to allow a user to start the system 10 prior to undertakig productive use of the protected computer program product in order to perform a meaningful test. It is to be understood that the authorized test period will begin only after the date stamp is created, and that the date stamp is only created upon the timer 36 reaching the predetermined value. It is to be further understood that although shown in RAM 24, timer 36 may be implemented as a discrete hardware component in system 10. In the illustrative embodiment, the predetermined value, for the time of the "burn-in" period, is 24 hours.

Referring back to block 420, the YES branch of decision block 420 and the output of block 460 serve as input to decision block 470, where it is determined whether the time associated with the designated test period has been exceeded. In the illustrative embodiment of the invention, the difference between the current date and the date associated with the date stamp is compared to the designated test period. In the illustrative embodiment, the designated test period is set at 60 days. However, the designated test period is typically determined by the developer or according to the terms of the license agreement. If it is determined that the elapsed days do not exceed the designated test period, the NO branch of decision block 470 is taken to block 490, where the procedure exits and continues with loading the protected computer program product. Otherwise, the YES branch of decision block 470 is taken to block 480, where the load procedure stops. In the illustrative embodiment block 480 includes posting a message to the user that the valid password must be entered in order to access the protected computer program product.

While the invention has been particularly shown and described with reference to one embodiment thereof, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A method for preventing continued use of a protected computer program product in a data processing system beyond a test period, comprising the steps of:determining that a predetermined amount of use of the data processing system has occurred, the predetermined amount of use indicating that productive use of the data processing system has begun; responsive to the determination of the predetermined amount of use, setting the test period by storing a current date as a beginning of a designated test period; periodically determining whether the designated test period has ended by comparison of a current date with the stored date; and responsive to the determination that the designated test period has ended, causing the protected computer program product to be disabled.
 2. The method as recited in claim 1 wherein the step of determining that a predetermined amount of use of the data processing system has occurred comprises the steps of:starting a timer after the protected computer program product is installed; incrementing the timer to measure a cumulative period of time that the data processing system is active; and making a determination as to whether the timer has reached a predetermined value equivalent to the predetermined amount of use.
 3. The method as recited in claim 1 wherein the step of storing the current date as the beginning of the designated test period comprises the steps of:making a determination as to whether a date stamp has been created; creating a date stamp from the current date if the predetermined amount of use has occurred; and storing the date stamp in a memory of the data processing system.
 4. The method as recited in claim 3 further comprising the step of providing an initial time setting for the timer at the time of installation of the protected computer program product in the data processing system.
 5. The method as recited in claim 1 wherein the protected computer program product is preloaded in the data processing system.
 6. The method as recited in claim 1 further comprising the steps of:making a determination as to whether a valid password has been entered; and responsive to the entry of a valid password, enabling the protected computer program product past the designated test period.
 7. A data processing system including processor, memory and input device which prevents continued use of a protected computer program product in a data processing system beyond a test period, comprising:means for determining that a predetermined amount of use of the data processing system has occurred, the predetermined amount of use indicating that productive use of the data processing system has begun; means responsive to the determination of the predetermined amount of use for setting the test period by storing a current date as a beginning of a designated test period; means for periodically determining whether the designated test period has ended by comparison of a current date with the stored date; and means responsive to the determination that the designated test period has ended for causing the protected computer program product to be disabled.
 8. The system as recited in claim 7 wherein the means for determining that a predetermined amount of use of the data processing system has occurred comprises:means for starting a timer after the protected computer program product is installed; means for incrementing the timer to measure a cumulative period of time that the data processing system is active; and means for making a determination as to whether the timer has reached a predetermined value equivalent to the predetermined amount of use.
 9. The method as recited in claim 8 further comprising means for providing an initial time setting for the timer at the time of installation of the protected computer program product in the data processing system.
 10. The system as recited in claim 7 wherein the means for storing the current date as the beginning of the designated test period comprises:means for making a determination as to whether a date stamp has been created; means for creating a date stamp from the current date if the predetermined amount of use has occurred; and means for storing the date stamp in a memory of the data processing system.
 11. The system as recited in claim 8 wherein the protected computer program product is preloaded in the data processing system.
 12. The system as recited in claim 7 further comprising the steps of:means for making a determination as to whether a valid password has been entered; and means responsive to the entry of a valid password for enabling the protected computer program product past the designated test period.
 13. A protected computer program product on a computer readable medium for preventing continued use of the protected computer program product in a data processing system beyond a test period, comprising;means for determining that a predetermined amount of use of the data processing system has occurred, the predetermined amount of use indicating that productive use of the processing system has begun; means responsive to the determination of the predetermined amount of use for setting the test period by storing a current date as a beginning of a designated test period; means for periodically determining whether the designated test period has ended by comparison of a current date with the stored date; and means responsive to the determination that the designated test period has ended for causing the protected computer program product to be disabled.
 14. The product as recited in claim 13 wherein the means for determining that a predetermined amount of use of the data processing system has occurred comprises:means for starting a timer after the protected computer program product is installed; means for incrementing the timer to measure a cumulative period of time that the data processing system is active; and means for making a determination as to whether the timer has reached a predetermined value equivalent to the predetermined amount of use.
 15. The method as recited in claim 14 further comprising means for providing an initial time setting for the timer at the time of installation of the protected computer program product in the data processing system.
 16. The product as recited in claim 13 wherein the means for storing a current date as a beginning of the designated test period comprises:means for making a determination as to whether a date stamp has been created; means for creating a date stamp if said predetermined amount of use has occurred; and means for storing the date stamp in a memory of the data processing system.
 17. The product as recited in claim 13 wherein the protected computer program product is preloaded in the data processing system.
 18. The product as recited in claim 13 further comprising:means for making a determination as to whether a valid password has been entered; and means responsive to the entry of a valid password for enabling the protected computer program product past the designated test period. 